package ${package.Service};

import ${package.Entity}.${entity};
import ${superServiceClassPackage};

/**
 * <p>
 * ${table.comment!} 服务类
 * </p>
 *
 * @author ${author}
 * @since ${date}
 */
<#if kotlin>
interface ${table.serviceName} : ${superServiceClass}<${entity}>
<#else>
public interface ${table.serviceName} extends ${superServiceClass}<${entity}> {
<#assign parmPK=""/>
<#list table.fields as field>
    <#if field.customMap.KEY??>
        <#if field.customMap.KEY == "PRI">
            <#if parmPK=="">
                <#assign parmPK += "String " + field.propertyName/>
            <#else>
                <#assign parmPK += ", String " + field.propertyName/>
            </#if>
        </#if>
    </#if>
</#list>

<#if parmPK != "">
    ${entity} getByPk(${parmPK});

    boolean updateByPk(${entity} ${entity?uncap_first});

    boolean removeByPk(${parmPK});
</#if>


}
</#if>
